package com.agentframework.examples.demo;

import com.agentframework.core.action.AbstractAction;
import org.springframework.ai.chat.messages.Message;
import org.springframework.ai.chat.prompt.Prompt;

import java.util.List;

/**
 * @author wangjun
 **/
public class DemoAction extends AbstractAction {

    public DemoAction(String actionName) {
        super(actionName);
    }

    @Override
    protected Prompt doExecute(List<Message> messages) {
        return super.doExecute(messages);
    }

}
